const tabsUserName = ref<Array<string>>(['核心企业', '供应商', '我的用户组']);

const formData = reactive<Namespace.FormType>({
  loadKey: true,
  formFields: {
    groupCode: '',
    groupName: '',
    groupExplain: '',
  },
  formRules: [
    [
      {
        title: '分组代码',
        required: true,
        field: 'groupCode',
        placeholder: '请输入分组代码',
        type: 'text',
        colSize: 12,
      },
    ],
    [
      {
        title: '分组名称',
        required: true,
        field: 'groupName',
        placeholder: '请输入分组名称',
        type: 'text',
        colSize: 12,
      },
    ],
    [
      {
        title: '备注',
        required: false,
        field: 'groupExplain',
        colSize: 12,
        type: 'textarea',
      },
    ],
  ],
});

export { tabsUserName, formData };
